package com.ruoyi.gybj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 重大危险源涉及危化品对象 gybj_hazard_chemical
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class HazardChemical extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 危险源id */
    @Excel(name = "危险源id")
    private Long hazardId;

    /** 危险源编码 */
    @Excel(name = "危险源编码")
    private String hazardCode;

    /** 化学品名称 */
    @Excel(name = "化学品名称")
    private String chemicalName;

    /** 别名 */
    @Excel(name = "别名")
    private String alias;

    /** 化学品类型 */
    @Excel(name = "化学品类型")
    private String chemicalType;

    /** CAS号 */
    @Excel(name = "CAS号")
    private String casNumber;

    /** 产品生产能力 */
    @Excel(name = "产品生产能力")
    private String productionCapacity;

    /** 最大储量 */
    @Excel(name = "最大储量")
    private String maxStorageQuantity;

    /** 物理形态（固态/液态/气态等） */
    @Excel(name = "物理形态", readConverterExp = "固=态/液态/气态等")
    private String physicalShape;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHazardId(Long hazardId) 
    {
        this.hazardId = hazardId;
    }

    public Long getHazardId() 
    {
        return hazardId;
    }

    public void setHazardCode(String hazardCode) 
    {
        this.hazardCode = hazardCode;
    }

    public String getHazardCode() 
    {
        return hazardCode;
    }

    public void setChemicalName(String chemicalName) 
    {
        this.chemicalName = chemicalName;
    }

    public String getChemicalName() 
    {
        return chemicalName;
    }

    public void setAlias(String alias) 
    {
        this.alias = alias;
    }

    public String getAlias() 
    {
        return alias;
    }

    public void setChemicalType(String chemicalType) 
    {
        this.chemicalType = chemicalType;
    }

    public String getChemicalType() 
    {
        return chemicalType;
    }

    public void setCasNumber(String casNumber) 
    {
        this.casNumber = casNumber;
    }

    public String getCasNumber() 
    {
        return casNumber;
    }

    public void setProductionCapacity(String productionCapacity) 
    {
        this.productionCapacity = productionCapacity;
    }

    public String getProductionCapacity() 
    {
        return productionCapacity;
    }

    public void setMaxStorageQuantity(String maxStorageQuantity) 
    {
        this.maxStorageQuantity = maxStorageQuantity;
    }

    public String getMaxStorageQuantity() 
    {
        return maxStorageQuantity;
    }

    public void setPhysicalShape(String physicalShape) 
    {
        this.physicalShape = physicalShape;
    }

    public String getPhysicalShape() 
    {
        return physicalShape;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hazardId", getHazardId())
            .append("hazardCode", getHazardCode())
            .append("chemicalName", getChemicalName())
            .append("alias", getAlias())
            .append("chemicalType", getChemicalType())
            .append("casNumber", getCasNumber())
            .append("productionCapacity", getProductionCapacity())
            .append("maxStorageQuantity", getMaxStorageQuantity())
            .append("physicalShape", getPhysicalShape())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
